Segment Routing Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 7.9.x - Configure Segment Routing Path Computation Element [Cisco Network Convergence System 5500 Series] - Cisco

Skip to content

Skip to search

Skip to footer

Products and Services

Back

Products and Services

Close

Products and Services Home

Save on Cisco products

Future-proof your network with our full-stack offer. Buy more and save up to 25% on eligible Cisco switching, routing, wireless, and software products.

Get started today

Cisco Security free trials

Get started with the right security solution for you. Try out our security solutions before you buy them.

Start a free trial

Discover Cisco IQ

See more, move faster, go farther. Human expertise meets agentic intelligence in every Cisco Services engagement.

Read the blog

Networking

Security

Collaboration

Computing

Observability

Software

Services (CX)

Back

Networking

Close

Products

Switches

Routers

Wireless

Optics and transceivers

Silicon

Networking software

Explore Networking

Use cases

Access networking

Campus and branch networking

Data center and cloud networking

Industrial IoT

Internet, cloud, and endpoint visibility

Network security

Service provider networking

Wide-area networking (WAN)

Unified network management

Manage your entire network from a single, intuitive cloud interface with the Meraki and Catalyst Center Global Overview.

Explore Networking Platform

Back

Security

Close

Featured products

AI Defense

Cisco Duo

Email Threat Defense

Firewall

Hypershield

Identity Services Engine (ISE)

Secure Access (SSE)

Splunk Enterprise Security

XDR

Explore Security

Use cases

Agentic SOC

AI Security

Hybrid Mesh Firewall

Industrial security

Physical security

Secure Access Service Edge (SASE)

Threat intelligence (Talos)

Zero Trust Access

Zero trust for agentic AI

Cisco Secure Access live demo

Join us live to experience Cisco Secure Access—the smarter way to secure access to the internet, SaaS, and private apps.

Choose an upcoming slot

Back

Collaboration

Close

Products

Phones, headsets, and collaboration devices

Webex Customer Experience

Webex Suite

Explore Collaboration

Use cases

Workspaces

Return to the office

Camera intelligence

Workspace management

Devices for Microsoft Teams

Webex AI

Control Hub

Webex Suite

Everything your business needs to collaborate—in the world's first unified, purpose-built suite for hybrid work.

Explore Webex Suite View the Webex site

Back

Computing

Close

Converged infrastructure

Fabric and adapters

Hybrid cloud operations

Hyperconverged infrastructure

Servers

Unified Edge

View all computing products

Cisco Intersight free trial

Get simplified IT operations with infrastructure lifecycle management as a service to easily manage your Cisco UCS, converged, and hyperconverged infrastructure.

Get started Learn more about Intersight

Back

Observability

Close

Products

Cloud application security

Splunk Observability Cloud

Splunk IT Service Intelligence

ThousandEyes

Explore Observability

Use cases

Alert noise reduction

Cloud monitoring optimization

End-user experiences

Microservices troubleshooting

Splunk Observability

Get complete business visibility and real-time troubleshooting across any environment.

Explore Splunk Observability

Back

Software

Close

Networking

Catalyst Center

Catalyst SD-WAN Manager

IoT Operations Dashboard

Meraki Platform

Mobility Services Platform

Nexus Dashboard

All networking software

Security

Cyber Vision

Secure Equipment Access

Security Cloud

Observability

Splunk Observability

ThousandEyes

Collaboration

Webex by Cisco

Computing

Intersight

Explore Cisco buying programs

Download software and manage licenses

View all software

Free trials and demos

View and sign up for over 100 products and portfolio solutions for free.

Explore trials and demos

Back

Services (CX)

Close

Cisco Support

Cisco Professional Services

Learn with Cisco

View all Cisco services

Discover Cisco IQ

See more, move faster, go farther. Human expertise meets agentic intelligence in every Cisco Services engagement.

Read the blog

Get expert guidance

Cisco Services can help you build the right solution for your needs with the combined power of AI, automation, and human expertise.

Transform your data center Build a better workplace

Close

Solutions

Back

Solutions

Close

Solutions Home

Artificial intelligence

Cisco has the infrastructure to power AI, unmatched breadth and scale of data to feed it, and a portfolio optimized to secure it.

Explore Cisco AI

Campus and branch

Cisco brings together Al, automation, and security into one unified architecture—built to simplify operations, scale intelligently, and protect every connection.

Explore campus and branch

Small and medium business

Protect, connect, and empower your business with Cisco's portfolio tailored to small and medium businesses. Experience simplified IT management, efficiency, cloud-driven flexibility, and 24/7 support.

Explore SMB solutions

Artificial Intelligence

Industries

Technologies

Campus and Branch

Service Providers

Small and Medium Business

Back

Artificial Intelligence

Close

AI-enhanced security

AI-native networking operations

AI-ready data centers

AI at the edge

AI networking in data centers

Mass-scale AI infrastructure

Secure AI Factory

Splunk AI

Webex AI

Cisco AI hub

Cisco AI Assistant

Cisco AI Assistant combines the latest generative AI technology with our expertise to responsibly guide and inform the decisions you make every day.

Explore Cisco AI Assistant

Cisco AI Readiness Assessment

AI readiness comprises six pillars: Strategy, Infrastructure, Data, Governance, Talent, and Culture. Is your organization AI ready?

Take assessment Browse AI Readiness Index

Back

Industries

Close

Cities and Communities

Education

Financial Services

Government

Healthcare

Manufacturing

Mining

Oil and Gas

Retail

Smart Buildings

Sports, Media, and Entertainment

Transportation

Utilities

View all industries

Industry design guides

Discover the portfolio explorer

Build the bridge between business outcomes and technology with our new interactive tool.

Start exploring

Back

Technologies

Close

Networking

Cloud and data center networking

Cloud-managed networking (Meraki)

Industrial IoT

Networking App Marketplace

SD-WAN

Smart buildings

All networking solutions

Computing

Converged infrastructure

Hybrid cloud

Hyperconverged

Virtual desktop infrastructure

Security

AI for security

Data center security

Hybrid Mesh Firewall

Industrial security

Network security

Secure Access Service Edge (SASE)

Secure Hybrid Work

Zero trust

Zero trust for agentic AI

Collaboration (Webex)

Camera intelligence

Customer experience

Event management

Intelligent workspaces

Interoperability

IT administration

Remote work

Workspace designer

Workspace management

Back

Campus and Branch

Close

Secure network architecture

Secure campus

Unified branch

Industrial IoT

Campus and branch design guides

Back

Service Providers

Close

Empowering your infrastructure

5G network architecture

Agile Services Networking

Broadband solutions

Cable solutions

Routed optical networking

Routed PON

View all service provider solutions

Managed services

Edge Cloud for Content Delivery

IoT Control Center

Mobility Services Platform

Private 5G

Secure access service edge (SASE)

Software-defined access

Secure Hybrid Work

SD-WAN security

Accelerate services offerings

Provide outsourced IT and consulting services with a broad technology portfolio and robust partner support programs.

See services options

Back

Small and Medium Business

Close

Products and solutions

Networking

Security

Collaboration

Product selector

View all small and medium business solutions

Buy small and medium business products online

Offers and free trials

Find the best solutions for your needs and try them before you buy.

See all offers and free trials

Close

Support

Back

Support

Close

Support Home

Support home

Access documentation, security notices, and support tools for Cisco products.

View Cisco Support

Software downloads

Download and manage new software, get updates or patches, or upgrade your current software to the latest release.

View Software Central

Licensing support

Troubleshoot common licensing issues and leverage easy-to-follow documentation for both PAK-based or Smart Licenses.

Get licensing support

Products and Downloads

Documentation

Contact Support

Licenses and Contracts

Tools and Resources

Cisco Community

Back

Products and Downloads

Close

Find products and downloads

Search field edit, type in text

Clear

Product Support

Switches

Security

Routers

Wireless

Unified Communications

Collaboration endpoints and phones

Networking software (IOS and NX-OS)

Servers - Unified Computing (UCS)

All products

Downloads

Secure Client 5

Identity Services Engine Software

Secure Firewall Management Center Virtual

Smart Software Manager

Jabber for Windows

Modeling Labs

Catalyst 9300 Series Switches

All downloads

Back

Documentation

Close

Technical documentation

Configure, operate, and troubleshoot your Cisco products with configuration guides, installation guides, release notes, and more.

Trust Portal

Get self-service access to security, data privacy, and compliance documents.

Product documentation

Explore Cisco products and features to empower your purchase with data sheets, white papers, end-of-life notices, and more.

Back

Contact Support

Close

Product technical support (TAC)

Open a new case

(Requires a product or software support contract)

Manage support cases

Returns Portal (RMAs)

Enterprise and Service Provider products

1-800-553-2447 US and Canada

Worldwide phone numbers

Small and medium business products

1-866-606-1866 US and Canada

Worldwide phone numbers

Back

Licenses and Contracts

Close

Software licenses

Explore key licensing resources

Download and manage licenses

Manage assets and entitlements

Troubleshoot license issues

Cisco Enterprise Agreement (EA)

Manage Cisco EA licenses

Learn about Cisco EA

Product support contracts

Manage and renew service contracts (CCW-R)

Cisco Licensing Hub

Enhance your Cisco licensing experience.

Access now

Back

Tools and Resources

Close

Tools

Bug Search Tool

My Devices

My Saved Content

Software Research

Device Coverage Checker

All Support tools

Notifications and advisories

My Notifications

Security Advisories

Field Notices

Cisco Cloud Status

Services

All Cisco Services

Technology adoption

Cisco Customer Success

Back

Cisco Community

Close

Community forums

Technology and Support

Small Business Support

Developers

Partners

Project Gallery

Cisco Insider User Group

Explore Cisco Community

Community events and webinars

Learn from Cisco experts and engage with peers in webinars and live events.

View all events and webinars

Close

Learn

Back

Learn

Close

Learn Home

Cisco U.

Access training tailored to your needs. Work toward a specific role or certification, deploy or support a technology solution, or enhance your career progress.

Learn more about Cisco U.

Cisco Networking Academy

If you're a student, start at Cisco Networking Academy. With free courses and career guidance, your next IT job is closer than you think.

Join now

Events

Join us to take advantage of the latest networking opportunities with Cisco customers, partners, employees, and subject-matter experts.

Explore now

Training and Certifications

Events

Webinars

Technology Learning Topics

Learning Resources and Assets

Back

Training and Certifications

Close

Learning

Cisco Networking Academy

Cisco U.

Instructor-led training

Cisco Modeling Labs

Cisco Packet Tracer

Join our community

Learn with Cisco blog

Learn with Cisco overview

Certifications

Career certifications

Learn about exams

Continuing Education (CE credits)

Recertification

Schedule an exam

Track my certifications

Training for organizations

Enterprise

Cisco Learning Credits

Training catalog

Partners

Support

Learn with Cisco support bot

Back

Events

Close

Cisco Live

Partner events calendar

View all events

Cisco Live 2026 Melbourne

Experience the education, inspiration, and fun of Cisco Live 2026 Melbourne.

Register now

Watch Cisco Live sessions on demand

View sessions from Las Vegas in our On-Demand Library. Keynotes, Deep Dives, and Center Stage sessions are available now, with the remaining sessions added by June 19.

Watch now

Back

Webinars

Close

Trending webinars

AI readiness for data centers

Simplify IT with SD-WAN

Security transformation with Cisco XDR

View all webinars

McLaren Racing + Cisco

Carrie Palin joins McLaren Racing F1 team CEO Zak Brown and driver Oscar Piastri as they unveil the high-tech secrets behind their team's successful 2024 season.

Watch on demand

Cisco webinars

Discover insights that shape the future of technology. Our webinars feature experts and leaders sharing how organizations transform to connect, grow, and succeed.

Explore webinars

Back

Technology Learning Topics

Close

How to set up a router

What is cybersecurity?

What is a firewall?

What is Industry 4.0?

What is IoT (Internet of Things)?

What is Wi-Fi 7?

What is AIOps?

What is cloud security?

What is hybrid cloud?

What is SASE?

What is software as a service (SaaS)?

View all technology learning topics

2024 State of Industrial Networking

Cisco's survey of more than 1000 professionals reveals how cybersecurity, IT/OT collaboration, and AI are transforming industrial networks.

Get report

Back

Learning Resources and Assets

Close

Sandboxes and simulators

Cisco Packet Tracer

DevNet Sandbox

Cisco Modeling Labs

Cisco Learning Labs

News and insights

Blogs

Cisco Community

Executive perspectives

Newsroom

Developer resources

Getting started with DevNet

DevNet Tracks

Python training

Code exchange

Developer community

Videos and live streams

Cisco Video Portal

Architecture and design resources

Cisco Validated

Visio stencils

Additional resources

Cisco Learning Credits

Cisco Multicloud training

Black Belt Academy (for partners)

Close

Why Cisco

Back

Why Cisco

Close

Why Cisco

Why Cisco

Cisco creates the infrastructure you need to transform how you connect, protect, and innovate in the AI era.

See the Cisco advantage

Our Purpose

We Power an Inclusive Future for All.

Explore our Purpose Read FY25 Purpose Report

Success stories

Discover how Cisco technologies drive real-world success for our customers and power Cisco's own operations and innovation.

Explore customer stories How we use our technology

Outcomes We Deliver

Working with Partners

About Us

Back

Outcomes We Deliver

Close

AI-ready data centers

Unleash the power of AI with data centers designed for speed, scale, and agility.

Future-proofed workplaces

Elevate employee and customer experiences with agile, resilient workplaces.

Digital resilience

Achieve always-on resilience with trusted security, observability, and assurance.

Why Cisco

Cisco creates the infrastructure you need to transform how you connect, protect, and innovate in the AI era.

See the Cisco advantage

Back

Working with Partners

Close

Why choose Cisco partners

Learn how our partner ecosystem makes it easier than ever to identify the partners to best meet your needs.

Frequently asked questions (PDF)

Access answers to your questions about the evolution of Cisco's partner ecosystem and new partner designations.

Find a partner

Explore our partner ecosystem today.

A new way to find partners

The Cisco Partner Locator tool has been transformed into an AI-driven hub to match, recommend, and activate partners for every customer outcome.

Explore what's new

Back

About Us

Close

Overview

Newsroom

Leadership

Purpose and sustainability

Career opportunities

The Trust Center

Investor relations

Contact us

How to buy

Browse options to purchase Cisco products, services, and software offerings.

Visit how-to-buy hub

Close

Partners

Close

Trials and demos

How to buy

Partners

EN US

Log in

Trials and demos

MENU

CLOSE

How to buy

Partners

Log in

EN US

Search field edit, type in text

Clear Speech-to-Text Search

Speech-to-Text Powered By Google Speech API

We didn't hear that. Try again.

Speech-to-Text Search is currently unavailable

Downloads

Certifications

Cisco Validated

Training

Community

Support

Close

For Partners

Partners Home

Partner Program

Support

Tools

Already a Partner?

Log in

Find a Cisco Partner

Learn about Partners

Become a Cisco Partner

Close

Log in

Don't have an account? Sign up

Close

Back

Country | Language

Close

Selected country/region:

United States

English

All Countries / Regions

North America

Africa

Asia Pacific

Europe

Greater China

Latin America

Middle East

United States
English

English

Africa
English
Français
Português
عربي

English

Français

Português

عربي

Argentina
Español

Español

Australia & New Zealand
English

English

Austria
Deutsch

Deutsch

Belgium & Luxembourg
English
Français
Nederlands

English

Français

Nederlands

Brazil
Português

Português

Canada
English
Français

English

Français

Caribbean
Español

Español

Chile
Español

Español

Colombia
Español

Español

Costa Rica
Español

Español

Czech Republic
Čeština

Čeština

Denmark
Dansk

Dansk

Ecuador
Español

Español

Egypt
English
عربي

English

عربي

France
Français

Français

Germany
Deutsch

Deutsch

Hong Kong
English
繁體中文

English

繁體中文

Hungary
Magyar

Magyar

India
English

English

Indonesia
English

English

Israel
English

English

Italy
Italiano

Italiano

Japan
日本語

日本語

Korea
한국어

한국어

Mainland China
简体中文

简体中文

Malaysia
English

English

Mexico
Español

Español

Middle East
English
عربي

English

عربي

Netherlands
Nederlands

Nederlands

Norway
Norsk

Norsk

Panama
Español

Español

Peru
Español

Español

Philippines
English

English

Poland
Polski

Polski

Portugal
Português

Português

Romania
Română

Română

Singapore
English

English

South Africa
English

English

Spain
Español

Español

Sweden
Svenska

Svenska

Switzerland
Français
Deutsch

Français

Deutsch

Taiwan
繁體中文

繁體中文

Thailand
ภาษาไทย

ภาษาไทย

Turkey
Türkçe

Türkçe

Ukraine
Українська
Русский

Українська

Русский

United Kingdom & Ireland
English

English

Vietnam
Việt

Việt

Canada
English
Français

English

Français

United States
English

English

Africa
English
Français
Português
عربي

English

Français

Português

عربي

Egypt
English
عربي

English

عربي

South Africa
English

English

Australia & New Zealand
English

English

India
English

English

Indonesia
English

English

Japan
日本語

日本語

Korea
한국어

한국어

Malaysia
English

English

Philippines
English

English

Singapore
English

English

Thailand
ภาษาไทย

ภาษาไทย

Vietnam
Việt

Việt

Austria
Deutsch

Deutsch

Belgium & Luxembourg
English
Français
Nederlands

English

Français

Nederlands

Czech Republic
Čeština

Čeština

Denmark
Dansk

Dansk

France
Français

Français

Germany
Deutsch

Deutsch

Hungary
Magyar

Magyar

Israel
English

English

Italy
Italiano

Italiano

Netherlands
Nederlands

Nederlands

Norway
Norsk

Norsk

Poland
Polski

Polski

Portugal
Português

Português

Romania
Română

Română

Spain
Español

Español

Sweden
Svenska

Svenska

Switzerland
Français
Deutsch

Français

Deutsch

Turkey
Türkçe

Türkçe

Ukraine
Українська
Русский

Українська

Русский

United Kingdom & Ireland
English

English

Hong Kong
English
繁體中文

English

繁體中文

Mainland China
简体中文

简体中文

Taiwan
繁體中文

繁體中文

Argentina
Español

Español

Brazil
Português

Português

Caribbean
Español

Español

Chile
Español

Español

Colombia
Español

Español

Costa Rica
Español

Español

Ecuador
Español

Español

Mexico
Español

Español

Panama
Español

Español

Peru
Español

Español

Middle East
English
عربي

English

عربي

Close

Close

Cisco.com Worldwide

Products and Services

Solutions

Support

Learn

Explore Cisco

How to Buy

Partners Home

Partner Program

Support

Tools

Find a Cisco Partner

Meet our Partners

Become a Cisco Partner

... Show All Breadcrumbs

Home

Support

Product Support

Routers

Cisco Network Convergence System 5500 Series

Configuration Guides

Segment Routing Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 7.9.x

Bias-Free Language

Bias-Free Language

The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.

Book Contents

Book Contents

Book Title Page

Preface

New and Changed Information for Segment Routing Features

YANG Data Models for Segment Routing Features

About Segment Routing

Configure Segment Routing over IPv6 (SRv6) with Micro-SIDs

Configure Segment Routing over IPv6 (SRv6) with Full-Length SIDs

Configure SRv6 Traffic Engineering

Configure Segment Routing Global Block and Segment Routing Local Block

Configure Segment Routing for IS-IS Protocol

Configure Segment Routing for OSPF Protocol

Configure Segment Routing for BGP

Configure SR-TE Policies

Segment Routing Tree Segment Identifier

Enabling Segment Routing Flexible Algorithm

Configure Segment Routing Path Computation Element

Configure Performance Measurement

Configure Topology-Independent Loop-Free Alternate (TI-LFA)

Configure Segment Routing Microloop Avoidance

Configure Segment Routing Mapping Server

Using Segment Routing OAM

7.9.x

26.1.x, 26.2.x

25.1.x, 25.2.x, 25.3.x, 25.4.x

24.1.x, 24.2.x, 24.3.x, 24.4.x

7.11.x

7.10.x

7.9.x

7.8.x

Search

Find Matches in This Book

Save

Log in to Save Content

Available Languages

Download

Download Options

Book Title

Segment Routing Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 7.9.x

Chapter Title

Configure Segment Routing Path Computation Element

PDF - Complete Book (14.63 MB) PDF - This Chapter (1.67 MB) View with Adobe Reader on a variety of devices

Print

Results

Updated:

March 31, 2023

Chapter: Configure Segment Routing Path Computation Element

Chapter Contents

Configure Segment Routing Path Computation Element

About SR-PCE

Usage Guidelines and Limitations

Configure SR-PCE
Configure the Disjoint Policy (Optional)
Global Maximum-delay Constraint

Configure the Disjoint Policy (Optional)

Global Maximum-delay Constraint

PCE-Initiated SR Policies

SR-PCE Flexible Algorithm Multi-Domain Path Computation
Example: SR-PCE Flexible Algorithm Multi-Domain Path Computation Use Case

Example: SR-PCE Flexible Algorithm Multi-Domain Path Computation Use Case

ACL Support for PCEP Connection

Anycast SID-Aware Path Computation

SR-PCE IPv4 Unnumbered Interface Support

Inter-Domain Path Computation Using Redistributed SID
Example: Inter-Domain Path Computation Using Redistributed SID

Example: Inter-Domain Path Computation Using Redistributed SID

PCE Support for MPLS-TE LSPs

Configuring the North-Bound API on SR-PCE

Close

Configure Segment Routing Path Computation Element

The Segment Routing Path Computation Element (SR-PCE) provides stateful PCE functionality by extending the existing IOS-XR PCEP functionality with additional capabilities. SR-PCE is supported on the MPLS data plane and IPv4 control plane.

About SR-PCE

Usage Guidelines and Limitations

Configure SR-PCE

PCE-Initiated SR Policies

SR-PCE Flexible Algorithm Multi-Domain Path Computation

ACL Support for PCEP Connection

Anycast SID-Aware Path Computation

SR-PCE IPv4 Unnumbered Interface Support

Inter-Domain Path Computation Using Redistributed SID

PCE Support for MPLS-TE LSPs

Configuring the North-Bound API on SR-PCE

About SR-PCE

The path computation element protocol (PCEP) describes a set of procedures by which a path computation client (PCC) can report and delegate control of head-end label switched paths (LSPs) sourced from the PCC to a PCE peer. The PCE can request the PCC to update and modify parameters of LSPs it controls. The stateful model also enables a PCC to allow the PCE to initiate computations allowing the PCE to perform network-wide orchestration.

SR-PCE learns topology information by way of IGP (OSPF or IS-IS) or through BGP Link-State (BGP-LS).

SR-PCE is capable of computing paths using the following methods:

TE metric—SR-PCE uses the TE metric in its path calculations to optimize cumulative TE metric.

IGP metric—SR-PCE uses the IGP metric in its path calculations to optimize reachability.

LSP Disjointness—SR-PCE uses the path computation algorithms to compute a pair of disjoint LSPs. The disjoint paths can originate from the same head-end or different head-ends. Disjoint level refers to the type of resources that should not be shared by the two computed paths. SR-PCE supports the following disjoint path computations:
Link – Specifies that links are not shared on the computed paths.
Node – Specifies that nodes are not shared on the computed paths.
SRLG – Specifies that links with the same SRLG value are not shared on the computed paths.
SRLG-node – Specifies that SRLG and nodes are not shared on the computed paths. When the first request is received with a given disjoint-group ID, the first LSP is computed, encoding the shortest path from the first source to the first destination. When the second LSP request is received with the same disjoint-group ID, information received in both requests is used to compute two disjoint paths: one path from the first source to the first destination, and another path from the second source to the second destination. Both paths are computed at the same time.

Link – Specifies that links are not shared on the computed paths.

Node – Specifies that nodes are not shared on the computed paths.

SRLG – Specifies that links with the same SRLG value are not shared on the computed paths.

SRLG-node – Specifies that SRLG and nodes are not shared on the computed paths. When the first request is received with a given disjoint-group ID, the first LSP is computed, encoding the shortest path from the first source to the first destination. When the second LSP request is received with the same disjoint-group ID, information received in both requests is used to compute two disjoint paths: one path from the first source to the first destination, and another path from the second source to the second destination. Both paths are computed at the same time.

TCP Authentication Option

TCP Message Digest 5 (MD5) authentication has been used for authenticating PCEP (TCP) sessions by using a clear text or encrypted password. This feature introduces support for TCP Authentication Option (TCP-AO), which replaces the TCP MD5 option.

TCP-AO uses Message Authentication Codes (MACs), which provides the following:

Protection against replays for long-lived TCP connections

More details on the security association with TCP connections than TCP MD5

A larger set of MACs with minimal system and operational changes

TCP-AO is compatible with Master Key Tuple (MKT) configuration. TCP-AO also protects connections when using the same MKT across repeated instances of a connection. TCP-AO protects the connections by using traffic key that are derived from the MKT, and then coordinates changes between the endpoints.

Note

TCP-AO and TCP MD5 are never permitted to be used simultaneously. TCP-AO supports IPv6, and is fully compatible with the proposed requirements for the replacement of TCP MD5.

Usage Guidelines and Limitations

To ensure PCEP compatibility, we recommend that the Cisco IOS XR version on the SR-PCE be the same or later than the Cisco IOS XR version on the PCC or head-end.

Configure SR-PCE

This task explains how to configure SR-PCE.

SUMMARY STEPS

configure

pce

address ipv4 address

state-sync ipv4 address

tcp-buffer size size

password { clear | encrypted } password

tcp-ao key-chain [ include-tcp-options ] [ accept-ao-mismatch-connection ]

segment-routing { strict-sid-only | te-latency }

timers

keepalive time

minimum-peer-keepalive time

reoptimization time

exit

DETAILED STEPS

Command or Action

Purpose

Step 1

configure

Example:

Enters global configuration mode.

Step 2

pce

Example:

Enables PCE and enters PCE configuration mode.

Step 3

address ipv4 address

Example:

Configures a PCE IPv4 address.

Step 4

state-sync ipv4 address

Example:

Configures the remote peer for state synchronization.

Step 5

tcp-buffer size size

Example:

Configures the transmit and receive TCP buffer size for each PCEP session, in bytes. The default buffer size is 256000. The valid range is from 204800 to 1024000.

Step 6

password { clear | encrypted } password

Example:

Enables TCP MD5 authentication for all PCEP peers. Any TCP segment coming from the PCC that does not contain a MAC matching the configured password will be rejected. Specify if the password is encrypted or clear text.

Note

TCP-AO and TCP MD5 are never permitted to be used simultaneously.

Step 7

tcp-ao key-chain [ include-tcp-options ] [ accept-ao-mismatch-connection ]

Example:

Enables TCP Authentication Option (TCP-AO) authentication for all PCEP peers. Any TCP segment coming from the PCC that does not contain a MAC matching the configured key chain will be rejected.

include-tcp-options—Includes other TCP options in the header for MAC calculation.

accept-ao-mismatch-connection—Accepts connection even if there is a mismatch of AO options between peers.

Note

TCP-AO and TCP MD5 are never permitted to be used simultaneously.

Step 8

segment-routing { strict-sid-only | te-latency }

Example:

Configures the segment routing algorithm to use strict SID or TE latency.

Note

This setting is global and applies to all LSPs that request a path from this controller.

Step 9

timers

Example:

Enters timer configuration mode.

Step 10

keepalive time

Example:

Configures the timer value for locally generated keep-alive messages. The default time is 30 seconds.

Step 11

minimum-peer-keepalive time

Example:

Configures the minimum acceptable keep-alive timer that the remote peer may propose in the PCEP OPEN message during session establishment. The default time is 20 seconds.

Step 12

reoptimization time

Example:

Configures the re-optimization timer. The default timer is 1800 seconds.

Step 13

exit

Example:

Exits timer configuration mode and returns to PCE configuration mode.

Configure the Disjoint Policy (Optional)

Global Maximum-delay Constraint

Configure the Disjoint Policy (Optional)

This task explains how to configure the SR-PCE to compute disjointness for a pair of LSPs signaled by PCCs that do not include the PCEP association group-ID object in their PCEP request. This can be beneficial for deployments where PCCs do not support this PCEP object or when the network operator prefers to manage the LSP disjoint configuration centrally.

SUMMARY STEPS

disjoint-path

group-id value type { link | node | srlg | srlg-node } [ sub-id value ]

strict

lsp { 1 | 2 } pcc ipv4 address lsp-name lsp_name [ shortest-path ]

DETAILED STEPS

Command or Action

Purpose

Step 1

disjoint-path

Example:

Enters disjoint configuration mode.

Step 2

group-id value type { link | node | srlg | srlg-node } [ sub-id value ]

Example:

Configures the disjoint group ID and defines the preferred level of disjointness (the type of resources that should not be shared by the two paths):

link—Specifies that links are not shared on the computed paths.

node—Specifies that nodes are not shared on the computed paths.

srlg—Specifies that links with the same SRLG value are not shared on the computed paths.

srlg-node—Specifies that SRLG and nodes are not shared on the computed paths.

If a pair of paths that meet the requested disjointness level cannot be found, then the paths will automatically fallback to a lower level:

If the requested disjointness level is SRLG or node, then link-disjoint paths will be computed.

If the requested disjointness level was link, or if the first fallback from SRLG or node disjointness failed, then the lists of segments encoding two shortest paths, without any disjointness constraint, will be computed.

Step 3

strict

Example:

(Optional) Prevents the automatic fallback behavior of the preferred level of disjointness. If a pair of paths that meet the requested disjointness level cannot be found, the disjoint calculation terminates and no new path is provided. The existing path is not modified.

Step 4

lsp { 1 | 2 } pcc ipv4 address lsp-name lsp_name [ shortest-path ]

Example:

Adds LSPs to the disjoint group.

The shortest-path keyword forces one of the disjoint paths to follow the shortest path from the source to the destination. This option can only be applied to the the first LSP specified.

Global Maximum-delay Constraint

This feature allows a PCE to compare the cumulative latency of a computed path against a global maximum-delay constraint value. If the latency of the computed path exceeds this global constraint, the path is not considered valid. This ensures that all latency-based paths computed by the PCE and signaled to the PCCs in the network do not exceed this maximum-delay constraint.

Configuration

To configure a PCE for specifying maximum cumulative latency metric, you must complete the following configurations:

Verification

Verify using the show command:

PCE-Initiated SR Policies

Use cases based on centralized optimization, such as congestion mitigation solutions, rely on the ability of the PCE to signal and instantiate SR-TE policies in the network. We refer to this as PCE-initiated SR-TE policies.

PCE-initiated SR-TE policies can be triggered via Crossworks Network Controller (recommended approach) or via CLI at the PCE.

For more information on configuring SR-TE policies, see the SR-TE Policy Overview.

The PCE deploys the SR-TE policy using PCC-PCE communication protocol (PCEP).

PCE sends a PCInitiate message to the PCC.

If the PCInitiate message is valid, the PCC sends a PCRpt message; otherwise, it sends PCErr message.

If the PCInitiate message is accepted, the PCE updates the SR-TE policy by sending PCUpd message.

You can achieve high-availability by configuring multiple PCEs with SR-TE policies. If the head-end (PCC) loses connectivity with one PCE, another PCE can assume control of the SR-TE policy.

Configuration Example: PCE-Initiated SR Policy with Explicit SID List

To configure a PCE-initiated SR-TE policy, you must complete the following configurations:

Enter PCE configuration mode.

Create the segment list. Note When configuring an explicit path using IP addresses of intermediate links, the SR-TE process prefers the protected Adj-SID of the link, if one is available.

Create the policy.

Running Config

SR-PCE Flexible Algorithm Multi-Domain Path Computation

Table 1. Feature History Table

Feature Name

Release Information

Feature Description

SR-PCE: Flex Algo Aware Policy Computation + Live-Live Disjointness Enhancements

Release 7.3.1

This feature is now supported on routers that have the Cisco NC57 line cards installed and operate in the native and compatible modes. To enable the native mode, use the hw-module profile npu native-mode-enable command in the configuration mode. Ensure that you reload the router after configuring the native mode.

Flexible Algorithm provides a traffic engineered path automatically computed by the IGP to any destination reachable by the IGP. With the SR-PCE Flexible Algorithm Multi-Domain Path Computation feature, SR-PCE can use Flexible Algorithms to compute multi-domain paths. See the Enabling Segment Routing Flexible Algorithm chapter for information about Segment Routing Flexible Algorithm.

The SR-PCE Flexible Algorithm Multi-Domain Path Computation feature incorporates the following functionality:

BGP-LS has been augmented to allow selected nodes to advertise the Flexible Algorithm definition (FAD) to the SR-PCE

PCEP has been augmented (vendor-specific object) to allow a PCC to indicate SR policy constraint based on the Flexible Algorithm instance number

SR-PCE algorithms have been augmented to compute paths based on a Flexible Algorithm constraint

The SR-PCE Flexible Algorithm multi-domain path computation requires the following:

The same Flexible Algorithm instance ID is used across domains.

The metric for those Flexible Algorithm instances must be the same across domains.

The affinity constraints for those Flexible Algorithm instances may be different across domains.

Multiple Flexible Algorithms can exist in a domain.

For example, considering a multi-domain topology (Domain 1 and Domain 2), the following scenarios meet the requirements listed above:

Scenario

Domain 1

Domain 2

Scenario 1

Flexible Algorithm 128, metric delay

Flexible Algorithm 128, metric delay

Scenario 2

Flexible Algorithm 128, metric delay

Flexible Algorithm 128, metric delay, exclude affinity blue

Scenario 3

Flexible Algorithm 128, metric delay, exclude affinity yellow

Flexible Algorithm 128, metric delay, exclude affinity blue

Scenario 4

Flexible Algorithm 128, metric delay Flexible Algorithm 129, metric IGP

Flexible Algorithm 128, metric delay Flexible Algorithm 129, metric IGP

Note

The use of a Flexible Algorithm constraint in a multi-domain SR topology does not preclude the use of an SR policy that are optimized for a particular metric type. For example, a policy can request a PCE for a Multi Domain policy based on metric delay. SR-PCE computes the path and encodes it with regular prefix SIDs and Adj-SIDs as required. Alternatively, a policy can request to have a constraint for a Flexible Algorithm instance X, which is defined in multiple domains and it minimizes based on metric delay. In this case, the SR-PCE computes the multi-domain path and encodes it using only Flexible Algorithm prefix SIDs. This case benefits from the optimized label stack size that Flexible Algorithm provides (1 label per domain).

Example: SR-PCE Flexible Algorithm Multi-Domain Path Computation Use Case

Example: SR-PCE Flexible Algorithm Multi-Domain Path Computation Use Case

The following use case depicts a multi-domain topology with two IS-IS processes, each with a Flexible Algorithm instance of 128 that minimizes metric delay. A multi-domain SR policy programmed at Node 1 leverages a Flexible Algorithm 128 path computed by the SR-PCE toward Node 8.

Figure 1. Multi-Domain Topology

Configuration on Node 8

IS-IS and Flexible Algorithm Configuration

Configuration on Node 4 (ABR/ASBR)

IS-IS and Flexible Algorithm Configuration

BGP-LS Configuration

Configuration on Node 1

IS-IS and Flexible Algorithm Configuration

SR Policy Configuration

PCC Configuration

Configuration on PCE

ACL Support for PCEP Connection

PCE protocol (PCEP) (RFC5440) is a client-server model running over TCP/IP, where the server (PCE) opens a port and the clients (PCC) initiate connections. After the peers establish a TCP connection, they create a PCE session on top of it.

The ACL Support for PCEP Connection feature provides a way to protect a PCE server using an Access Control List (ACL) to restrict IPv4 PCC peers at the time the TCP connection is created based on the source address of a client. When a client initiates the TCP connection, the ACL is referenced, and the client source address is compared. The ACL can either permit or deny the address and the TCP connection will proceed or not.

Refer to the Implementing Access Lists and Prefix Lists chapter in the IP Addresses and Services Configuration Guide for Cisco NCS 5500 Series Routers for detailed ACL configuration information.

To apply an ACL to the PCE, use the pce peer-filter ipv4 access-list acl_name command.

The following example shows how to configure an ACL and apply it to the PCE:

Anycast SID-Aware Path Computation

This feature allows the SR-TE head-end or SR-PCE to compute a path that is encoded using Anycast prefix SIDs of nodes along the path.

An Anycast SID is a type of prefix SID that identifies a set of nodes and is configured with n-flag clear. The set of nodes (Anycast group) is configured to advertise a shared prefix address and prefix SID. Anycast routing enables the steering of traffic toward multiple advertising nodes, providing load-balancing and redundancy. Packets addressed to an Anycast address are forwarded to the topologically nearest nodes.

Note

For information on configuring Anycast SID, see Configuring a Prefix-SID on the IS-IS Enabled Loopback Interface and Configuring a Prefix-SID on the OSPF-Enabled Loopback Interface.

This example shows how Anycast SIDs are inserted into a computed SID list.

The following figure shows 3 isolated IGP domains without redistribution and without BGP 3107. Each Area Border Router (ABR) 1 through 4 is configured with a node SID. ABRs 1 and 2 share Anycast SID 16012 and ABRs 3 and 4 share Anycast SID 16034.

Consider the case where nodes A and Z are provider edge (PE) routers in the same VPN. Node A receives a VPN route with BGP next-hop to node Z. Node A resolves the SR path to node Z based on ODN behaviors with delegation of path computation to SR-PCE.

Before considering Anycast SIDs, the head-end router or SR-PCE computes the SID list.

Assume that the computed path from node A to node Z traverses node 2 and node 4. This translates to SID list {16002, 16004, 1600Z} when node SIDs are leveraged to encode the path.

When an Anycast SID-aware path is requested, the path computation algorithm performs the following:

Path Computation—Computes the path according to optimization objectives and constraints

Path Encoding—Encodes the path in a SID list leveraging node-SIDs and adj-SIDs as applicable

Anycast SID Replacement—Reiterates the original SID list by replacing node SIDs with Anycast SIDs present on the nodes along the computed path. If a node has multiple Anycast SIDs, the algorithm considers them according to their weights. See Weighted Anycast SIDs.

Optimality Validation—The new paths are validated against the original optimization objectives and constraints (maintain same cumulative metric as original SID list and do not violate path constraints).

Anycast SID Promotion—If the optimality validation is successful, then the Anycast-encoded SID list is signaled and instantiated in the forwarding.

The following figure depicts cumulative metrics between nodes in the network.

Under these conditions, the optimality check is met, and therefore, the Anycast-encoded SID list from node A to node Z is {16012,16034,1600Z}.

The Anycast SID aware path computation also provides resiliency. For example, if one of the ABRs (in this case, ABR 1) becomes unavailable or unreachable, the path from node A to node Z {16012,16034,1600Z} will still be valid and usable.

Configuration Examples

Configure Prefix SIDs on the ABR nodes.
Configure each node with a node SID.
Configure each group of nodes with a shared Anycast SID. See Configuring a Prefix-SID on the IS-IS Enabled Loopback Interface and Configuring a Prefix-SID on the OSPF-Enabled Loopback Interface.

Configure each node with a node SID.

Configure each group of nodes with a shared Anycast SID. See Configuring a Prefix-SID on the IS-IS Enabled Loopback Interface and Configuring a Prefix-SID on the OSPF-Enabled Loopback Interface.

Configure SR policies to include Anycast SIDs for path computation using the anycast-sid-inclusion command. This example shows how to configure a local SR policy to include Anycast SIDs for PCC-initiated path computation at the head-end router:

Running Configuration

Use the anycast-sid-inclusion command to request Anycast SID-aware path computation for the following SR policy types:

Local SR policy with PCC-initiated path computation at the head-end router:

Local SR policy with PCC-initiated/PCE-delegated path computation at the SR-PCE:

On-demand SR policies with a locally computed dynamic path at the head-end, or centrally computed dynamic path at the SR-PCE:

On-demand SR policies with centrally computed dynamic path at the SR-PCE:

Weighted Anycast SIDs

Table 2. Feature History Table

Feature Name

Release Information

Feature Description

Weighted Anycast SID-Aware Path Computation

Release 7.3.1

This feature extends Anycast SIDs with weighted nodes.

Weighted Anycast nodes advertise a cost (weight) along with the Anycast SID. Traffic is then distributed according to the weights.

Weighted Anycast SIDs allow for highly available paths with node redundancy and path optimality that provide Fast Re-Route (FRR) for node failure of service provider edge (PE) routers and ABR/ASBRs nodes in multi-domain networks.

Weighted Anycast nodes advertise a cost along with the Anycast SID. This cost serves as a weight. The native SR path computation algorithms are augmented to compute optimum paths relying on Weighted Anycast SIDs during path encoding. Traffic to the SID is then distributed according to the weights.

The following example shows how node SID, Anycast SID, and Weighted Anycast SID are applied on node 1:

SR-PCE IPv4 Unnumbered Interface Support

This feature allows IPv4 unnumbered interfaces to be part of an SR-PCE topology database.

An unnumbered IPv4 interface is not identified by its own unique IPv4 address. Instead, it is identified by the router ID of the node where this interfaces resides and the local SNMP index assigned for this interface.

This feature provides enhancements to the following components:

IGPs (IS-IS and OSPF):
Support the IPv4 unnumbered interfaces in the SR-TE context by flooding the necessary interface information in the topology

Support the IPv4 unnumbered interfaces in the SR-TE context by flooding the necessary interface information in the topology

SR-PCE: Note SR-PCE and path computation clients (PCCs) need to be running Cisco IOS XR 7.0.2 or later.
Compute and return paths from a topology containing IPv4 unnumbered interfaces.
Process reported SR policies from a head-end router that contain hops with IPv4 unnumbered adjacencies. PCEP extensions for IPv4 unnumbered interfaces adhere to IETF RFC8664 “PCEP Extensions for Segment Routing” ( https://datatracker.ietf.org/doc/rfc8664/). The unnumbered hops use a Node or Adjacency Identifier (NAI) of type 5. This indicates that the segment in the explicit routing object (ERO) is an unnumbered adjacency with an IPv4 ID and an interface index.

Compute and return paths from a topology containing IPv4 unnumbered interfaces.

Process reported SR policies from a head-end router that contain hops with IPv4 unnumbered adjacencies. PCEP extensions for IPv4 unnumbered interfaces adhere to IETF RFC8664 “PCEP Extensions for Segment Routing” ( https://datatracker.ietf.org/doc/rfc8664/). The unnumbered hops use a Node or Adjacency Identifier (NAI) of type 5. This indicates that the segment in the explicit routing object (ERO) is an unnumbered adjacency with an IPv4 ID and an interface index.

SR-TE process at the head-end router:
Compute its own local path over a topology, including unnumbered interfaces.
Process PCE-computed paths that contain hops with IPv4 unnumbered interfaces.
Report a path that contains hops with IPv4 unnumbered interfaces to the PCE.

Compute its own local path over a topology, including unnumbered interfaces.

Process PCE-computed paths that contain hops with IPv4 unnumbered interfaces.

Report a path that contains hops with IPv4 unnumbered interfaces to the PCE.

Configuration Example

The following example shows how to configure an IPv4 unnumbered interface:

To bring up the IPv4 unnumbered adjacency under the IGP, configure the link as point-to-point under the IGP configuration. The following example shows how to configure the link as point-to-point under the IGP configuration:

Verification

Use the show ipv4 interface command to display information about the interface:

This interface shows the IPv4 address of Loopback0.

Use the show snmp interface command to find the SNMP index for this interface:

The interface is identified with the pair (IPv4:192.168.0.1, index:6).

Use the show ospf neighbor command to display the adjacency:

The output of the show pce ipv4 topology command is enhanced to display the interface index instead of the IP address for unnumbered interfaces:

The output of show pce lsp detail command includes unnumbered hops:

Inter-Domain Path Computation Using Redistributed SID

Table 3. Feature History Table

Feature Name

Release Information

Feature Description

SR-PCE: Inter-Domain Computation using Redistributed SID (SRTE - BGP-LU Domains Interworking)

Release 7.3.1

This feature is now supported on routers that have the Cisco NC57 line cards installed and operate in the native and compatible modes. To enable the native mode, use the hw-module profile npu native-mode-enable command in the configuration mode. Ensure that you reload the router after configuring the native mode.

A Path Computation Element (PCE) computes SR-TE paths based on SR topology database that stores connectivity, state, and TE attributes of SR network nodes and links. BGP Labeled Unicast (BGP-LU) provides MPLS transport across IGP boundaries by advertising loopbacks and label binding of impact edge and border routers across IGP boundaries.

This feature adds new functionality to the SR-PCE that enables it to compute a path for remote non-SR end-point device distributed by BGP-LU.

The remote end-point device in the BGP-LU domain is unknown to the SR-PCE. For the SR-PCE to know about the end-point device, the gateway ABR/ASBR learns the end-point prefix via BGP-LU. The prefix is then redistributed to SR-PCE topology database from the gateway ABR/ASBR. SR-PCE then can compute the best path from the head-end device to the selected gateway router.

The following topology shows an SR domain and a BGP-LU domain, with a gateway ABR/ASBR between the two domains.

The gateway ABR/ASBR is configured with BGP/IGP helper to learn the remote prefix through BGP-LU and redistribute the remote prefix to the IGP helper, then to SR-PCE.

The SR-PCE selects the best gateway node to BGP-LU domain and computes the path to reach the remote prefix through the gateway node.

The head-end device in the SR domain requests a path to the remote destination and signals the SR profile interworking with the BGP-LU domain.

The BGP-LU prefix advertisement to SR-PCE Traffic Engineer Database (TED) is done by creating an IGP helper on the ABR/ASBR to redistribute BGP-LU prefix information to IGP. IGP then sends the prefix information to the SR-PCE via BGP-LS.

If there are multiple ABR/ASBRs advertising the same remote BGP-LU prefix, the SR-PCE selects the best gateway node to the BGP-LU domain using the accumulative metric from the head-end device to the gateway and the advertised metric from the gateway to the destination.

Example: Inter-Domain Path Computation Using Redistributed SID

Example: Inter-Domain Path Computation Using Redistributed SID

The following examples show the configurations for the IGP helper, BGP-LU, and proxy BGP-SR:

Configuration on the End-Point Device

Configure the end-point device to allocate a label for the BGP-LU prefix on the end-point device:

Configuration on the Gateway ABR/ASBR

Configure the remote prefix set and create the route policy for the BGP-LU domain:

Configure the helper IGP instance on the Loopback interface:

Configure the gateway proxy BGP-SR and SR Mapping Server to allocate SR labels:

PCE Support for MPLS-TE LSPs

This feature allows Cisco's SR-PCE to act as a Path Computation Element (PCE) for MPLS Traffic Engineering Label Switched Paths (MPLS-TE LSPs).

Note

For more information about MPLS-TE, refer to the "Implementing MPLS Traffic Engineering" chapter in the MPLS Configuration Guide for Cisco NCS 5500 Series Routers.

The supported functionality is summarized below:

PCE type: Active Stateful PCE

MPLS-TE LSP initiation methods:
PCE Initiated—An active stateful PCE initiates an LSP and maintains the responsibility of updating the LSP.
PCC Initiated—A PCC initiates the LSP and may delegate the control later to the Active stateful PCE.

PCE Initiated—An active stateful PCE initiates an LSP and maintains the responsibility of updating the LSP.

PCC Initiated—A PCC initiates the LSP and may delegate the control later to the Active stateful PCE.

MPLS-TE LSP metric—Metric optimized by the path computation algorithm:
IGP metric
TE metric
Latency metric

IGP metric

TE metric

Latency metric

MPLS-TE LSP constraints—TE LSP attributes to be taken into account by the PCE during path computation:
Resource Affinities
Path Disjointness

Resource Affinities

Path Disjointness

MPLS-TE LSP parameters:
Setup priority—The priority of the TE LSP with respect to taking resources
Hold priority—The priority of the TE LSP with respect to holding resources
FRR L flag—The "Local Protection Desired" bit. Can be set from an application instantiating an MPLS-TE LSP via SR-PCE. SR-PCE passes this flag to the PCC, and the PCC will enable FRR for that LSP.
Signaled Bandwidth—This value can be set from an application instantiating an MPLS-TE LSP via SR-PCE. SR-PCE passes this value to the PCC.
Binding SID—A segment identifier (SID) that a headend binds to an MPLS-TE LSP. When the headend receives a packet with active segment (top MPLS label) matching the BSID of a local MPLS-TE LSP, the headend steers the packet into the associated MPLS-TE LSP.

Setup priority—The priority of the TE LSP with respect to taking resources

Hold priority—The priority of the TE LSP with respect to holding resources

FRR L flag—The "Local Protection Desired" bit. Can be set from an application instantiating an MPLS-TE LSP via SR-PCE. SR-PCE passes this flag to the PCC, and the PCC will enable FRR for that LSP.

Signaled Bandwidth—This value can be set from an application instantiating an MPLS-TE LSP via SR-PCE. SR-PCE passes this value to the PCC.

Binding SID—A segment identifier (SID) that a headend binds to an MPLS-TE LSP. When the headend receives a packet with active segment (top MPLS label) matching the BSID of a local MPLS-TE LSP, the headend steers the packet into the associated MPLS-TE LSP.

Cisco Crosswork Optimization Engine is an application that leverages the SR-PCE in order to visualize and instantiate MPLS-TE LSPs. For more information, refer to the Visualize SR Policies and RSVP-TE Tunnels chapter in the Cisco Crosswork Optimization Engine 1.2.1 User Guide.

Note

No extra configuration is required to enable MPLS-TE support at SR-PCE.

Example: Configuring a PCEP Session (Stateful Mode) on MPLS-TE PCC

The following example shows the configuration for an MPLS-TE PCC to establish a PCEP session with a PCE (IPv4 address 10.1.1.100).

Note

MPLS-TE PCC must operate in the stateful PCEP mode when connecting to SR-PCE.

The instantiation keyword enables the PCC to support MPLS-TE LSP instantiation by PCE (PCE-initiated).

The report keyword enables the PCC to report all the MPLS-TE LSPs configured on that node.

Note

PCE-initiated LSPs are automatically reported to all configured PCEs.

The autoroute-announce keyword enables autoroute-announce globally for all PCE-initiated LSPs on the PCC.

The redundancy pcc-centric keywords enable PCC-centric high-availability model for PCE-initiated LSPs. The PCC-centric model changes the default PCC delegation behavior to the following:

After LSP creation, LSP is automatically delegated to the PCE that computed it.

If this PCE is disconnected, then the LSP is redelegated to another PCE.

If the original PCE is reconnected, then the delegation fallback timer is started. When the timer expires, the LSP is redelegated back to the original PCE, even if it has worse preference than the current PCE.

Example: Configuring Multiple PCEP Sessions from a PCC Acting as MPLS-TE and SR-TE Headend Toward a Common PCE

The following example shows the configuration for a PCC (IPv4 addresses 10.1.1.1 and 10.1.1.2) to establish two PCEP sessions with a common PCE (IPv4 address 10.1.1.100). One session is configured under MPLS-TE, and the other under SR-TE.

Note

The two PCEP sessions must use a different source address on the PCC when connecting to the same PCE.

For more information regarding PCEP configuration at SR-TE PCC, see the Configure the Head-End Router as PCEP PCC topic.

Configuring the North-Bound API on SR-PCE

Table 4. Feature History Table

Feature Name

Release Information

Feature Description

Table 5. Feature History Table

Feature Name

Release Information

Feature Description

SR-PCE: Stateful North-Bound API for Tree-SID

Release 7.5.1

The SR-PCE provides a north-bound HTTP-based API to allow communication between the SR-PCE and the Cisco Crosswork Optimization Engine.

This release adds stateful north-bound APIs to support real-time monitoring of Tree-SID states on the SR-PCE using a subscription model.

For more information, refer to the Cisco Crosswork Optimization Engine User Guides.

Table 6. Feature History Table

Feature Name

Release Information

Feature Description

SR-PCE: North-Bound API for SRv6 and Flexible Algorithm in Cisco Optimization Engine (COE) v3.0 release

Release 7.3.2

The SR-PCE provides a north-bound HTTP-based API to allow communication between the SR-PCE and the Cisco Crosswork Optimization Engine.

This release adds support for the following:

Reporting of Flexible Algorithm participation and definitions

SRv6 topology information (nodes, links, Node uSIDs and Adj uSIDs)

SRv6 uSID list and uB6 SIDs allocated for a policy

For more information, refer to the Cisco Crosswork Optimization Engine User Guides.

SR-PCE: North-Bound API Enhancements for Cisco Optimization Engine (COE) v1.0 release

Release 7.3.1

This feature is now supported on routers that have the Cisco NC57 line cards installed and operate in the native and compatible modes. To enable the native mode, use the hw-module profile npu native-mode-enable command in the configuration mode. Ensure that you reload the router after configuring the native mode.

The SR-PCE provides a north-bound HTTP-based API to allow communication between SR-PCE and external clients and applications.

Over this API, an external application can leverage the SR-PCE for topology discovery, SR policy discovery, and SR policy instantiation.

The Cisco Crosswork Optimization Engine is an application that leverages the SR-PCE. For more information, refer to the Cisco Crosswork Optimization Engine User Guides.

Use the following commands under PCE configuration mode to configure the API to allow communication between SR-PCE and external clients or applications.

Note

The API server is enabled by default when SR-PCE is configured.

Command

Description

rest authentication basic

(Optional) Specify basic (plaintext) authentication. By default, authentication is disabled.

rest username password { clear | encrypted} password

Add credentials when connecting to API.

Note

This command is used only if authentication is configured.

rest sibling ipv4 address

Opens a synchronization channel to another PCE in the same high availability (HA) pair.

Note

For more information regarding SR-PCE HA pairs, refer to the Multiple Cisco SR-PCE HA Pairs chapter of the Cisco Crosswork Optimization Engine 1.2.1 User Guide.

Command

Description

api authentication { basic | digest}

Specify the type of authentication:

basic – Use HTTP Basic authentication (plaintext)

digest – Use HTTP Digest authentication (MD5)

api username password { clear | encrypted} password

Add credentials when connecting to API.

api sibling ipv4 address

Opens a synchronization channel to another PCE in the same high availability (HA) pair.

Note

For more information regarding SR-PCE HA pairs, refer to the Multiple Cisco SR-PCE HA Pairs chapter of the Cisco Crosswork Optimization Engine 1.2.1 User Guide.

Example: Configuring API on SR-PCE

The following example shows the current active connections:

The first and fourth entries show the API server listening for IPv4 and IPv6 connections.

The second and third entries show the established sibling connection between PCE1 (10.1.1.100) and PCE2 (10.1.1.200).

Back to Top Back to Top

Was this Document Helpful?

Yes No

[ Feedback](javascript: void(0);)

Contact Cisco

Open a Support Caselogin required

(Requires a Cisco Service Contract)

Quick Links

About Cisco

Contact Us

Careers

Connect with a partner

Resources and Legal

Feedback

Help

Terms & Conditions

Privacy

Cookies / Do not sell or share my personal data

Accessibility

Trademarks

Supply Chain Transparency

Newsroom

Sitemap

© 2026 Cisco Systems, Inc.

By continuing to use our website, you acknowledge the use of cookies.

Privacy Statement Change Settings

Consent Manager

Your opt out preference signal is honored.

Consent Manager

Your Privacy

Your Privacy

When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. From the list on left, please choose whether this site may use Performance and/or Targeting Cookies. By selecting Strictly Necessary Cookies only, you are requesting Cisco not to sell or share your personal data. Note, blocking some types of cookies may impact your experience on the site and the services we are able to offer.

Strictly Necessary Cookies

Strictly Necessary Cookies

Always Active These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information. Cookies Details

Performance Cookies

Performance Cookies

[x] Performance Cookies These cookies provide metrics related to the performance and usability of our site. They are primarily focused on gathering information about how you interact with our site, including: page load times, response times, error messages, and allowing a replay of a visitor's interactions with our site, which enables us to review and analyze visitor behavior, helping to improve site usability and functionality. These cookies also allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. If you do not allow these cookies we will not know when you have visited our site and will not be able to monitor its performance. Cookies Details

Targeting Cookies

Targeting Cookies

[x] Targeting Cookies These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Cookies Details

Functional Cookies

Functional Cookies

[x] Functional Cookies These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly. Cookies Details

Cookie List

Consent Leg.Interest [-]

checkbox label label [-]

checkbox label label [-]

checkbox label label

Clear

[-] checkbox label label

Apply Cancel

Save Settings

Allow All